package GestorViajes.Models;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="productos")
public class Producto implements Serializable {
    
    
    private long id;
    private int productId;
    private int description;
    private BigDecimal cost;
    private float percentageEarned;


    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    public long getId() {
        return id;
    }

    private void setId(long id) {
        this.id = id;
    }
            
    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getDescription() {
        return description;
    }

    public void setDescription(int description) {
        this.description = description;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public float getPercentageEarned() {
        return percentageEarned;
    }

    public void setPercentageEarned(float percentageEarned) {
        this.percentageEarned = percentageEarned;
    }
    
    
    
}
